function PT() {
	this.open = "";
	this.active = document.getElementById('nav01');
	this.alertMsg = '<div class="alert alert-info"><i class="icon-hand-right"></i>访问出现错误,请稍后重试,如果问题仍然存在请联系管理员</div>'
}

PT.prototype = {
	menu_change : function(o, a) {
		if (this.open != '') {
			$('#' + this.open).attr('class', '');
			$('#' + this.open + ' .submenu').attr('style', 'display:none');
		}
		$(this.active).attr('class', '');
		if (o != '') {
			$('#' + o).attr('class', 'active open');
			$('#' + o + ' .submenu').attr('style', 'display:block');
		}
		this.open = o;
		$(a).attr('class', 'active');
		this.active = a;
	}
}

var pt = new PT();
